package cn.smile.config.shiro.filter;

import cn.smile.config.shiro.CasPathConfig;
import org.apache.shiro.web.filter.authc.LogoutFilter;

public class MyCasLogoutFilter extends LogoutFilter {
    public MyCasLogoutFilter() {
        //跳转到CAS服务器登出，登出完成后再跳转到特定的页面
        this.setRedirectUrl(CasPathConfig.CAS_LOGOUT_URL + "?service="
                + CasPathConfig.SHIRO_SERVER_URL_PREFIX + "/lout");
    }
}
